import { Global, Module } from '@nestjs/common'
import { MetaBoardDataDao } from './meta-board-data/meta-board-data.dao'
import { MetaFileDao } from './meta-file/meta-file.dao'
import { MetaHistoryChartDao } from './meta-history-chart/meta-history-chart.dao'
import { MetaPlatformDao } from './meta-platform/meta-platform.dao'
import { MetaResourceChartExampleDao } from './meta-resource-chart-example/meta-resource-chart-example.dao'
import { MetaResourceChartDao } from './meta-resource-chart/meta-resource-chart.dao'
import { MetaResourceModelDao } from './meta-resource-model/meta-resource-model.dao'
import { MetaResourceModuleActionDao } from './meta-resource-module-action/meta-resource-module-action.dao'
import { MetaResourceModuleDao } from './meta-resource-module/meta-resource-module.dao'
import { MetaTemplateDao } from './meta-template/meta-template.dao'

@Global()
@Module({
  providers: [
    MetaBoardDataDao,
    MetaFileDao,
    MetaResourceChartDao,
    MetaResourceModelDao,
    MetaResourceModuleDao,
    MetaResourceModuleActionDao,
    MetaTemplateDao,
    MetaPlatformDao,
    MetaResourceChartExampleDao,
    MetaHistoryChartDao,
  ],
  exports: [
    MetaBoardDataDao,
    MetaFileDao,
    MetaResourceChartDao,
    MetaResourceModelDao,
    MetaResourceModuleDao,
    MetaResourceModuleActionDao,
    MetaTemplateDao,
    MetaPlatformDao,
    MetaResourceChartExampleDao,
    MetaHistoryChartDao,
  ],
})
export class DomainModule {}
